package com.situ.orderingsystem.dao;

import com.situ.orderingsystem.model.Employee;
import com.situ.orderingsystem.model.EmployeeSerchBean;
import com.situ.orderingsystem.utils.PaginateInfo;

import java.util.List;

public interface EmployeeDao {
    List<Employee> findAll(EmployeeSerchBean es, PaginateInfo pi);
    List<Employee> findAll2();
    boolean deleteById(Integer id);
    int add(Employee employee);
    Employee searchById(Integer id);
    int update(Employee employee);
}
